package com.jmb.api.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jmb.api.model.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jmb.api.vo.user.UserInfoVo;
import com.jmb.api.vo.user.UserVo;
import jakarta.validation.constraints.NotNull;

/**
* @author jinbo
* @description 针对表【user】的数据库操作Mapper
* @createDate 2025-04-08 13:53:56
* @Entity com.jmb.api.model.entity.User
*/
public interface UserMapper extends BaseMapper<User> {

    IPage<UserInfoVo> getListUser(IPage<UserInfoVo> page, UserInfoVo userinfo);

    User selectOneByLoginName(@NotNull(message = "用户名不能为空") String username);
}




